package com.group.www.pojo;

import java.io.Serializable;
import java.util.Date;

public class UserInfo implements Serializable {
    private Integer userid;

    private String username;

    private String phone;

    private String email;

    private String userpwd;

    private Integer usersex;

    private Date birthday;

    private Float money;

    private Date regtime;

    private static final long serialVersionUID = 1L;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd == null ? null : userpwd.trim();
    }

    public Integer getUsersex() {
        return usersex;
    }

    public void setUsersex(Integer usersex) {
        this.usersex = usersex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public Date getRegtime() {
        return regtime;
    }

    public void setRegtime(Date regtime) {
        this.regtime = regtime;
    }

    public UserInfo() {
    }

    public UserInfo(Integer userid, String username, String phone, String email, String userpwd, Integer usersex, Date birthday, Float money, Date regtime) {
        this.userid = userid;
        this.username = username;
        this.phone = phone;
        this.email = email;
        this.userpwd = userpwd;
        this.usersex = usersex;
        this.birthday = birthday;
        this.money = money;
        this.regtime = regtime;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", userpwd='" + userpwd + '\'' +
                ", usersex=" + usersex +
                ", birthday=" + birthday +
                ", money=" + money +
                ", regtime=" + regtime +
                '}';
    }
}